<?php
/**
 * Description of user
 *
 * @author dmitryy
 */
class Controller_User extends Controller_Action {
    //put your code here
    function index() 
    {
        $this->registry->get('view')->show('userpage');
    }
    
    function account()
    {
        echo 'account';
    }

    function registration()
    {
        $this->registry->get('view')->show('registration');
    }
    
    function registering()
    {
        $this->registry->get('view')->show('registering');
    }
    
    function restore()
    {
        echo 'Restore password.';
    }
    
    function error()
    {
        $this->registry->get('view')->show('loginerror');
    }
    
    function out()
    {
        $this->registry->get('view')->show('out');
    }
    
    function signout()
    {
        $this->registry->get('view')->show('signout');
    }
    
    function edit()
    {
        $this->registry->get('view')->show('edituser');
    }
}